import service from '@/utils/request'

// @Tags MoldStartNoticeDrawingList
// @Summary 创建起模通知单-图纸列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeDrawingList true "创建起模通知单-图纸列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /moldStartNoticeDrawingList/createMoldStartNoticeDrawingList [post]
export const createMoldStartNoticeDrawingList = (data) => {
  return service({
    url: '/moldStartNoticeDrawingList/createMoldStartNoticeDrawingList',
    method: 'post',
    data
  })
}

// @Tags MoldStartNoticeDrawingList
// @Summary 删除起模通知单-图纸列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeDrawingList true "删除起模通知单-图纸列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moldStartNoticeDrawingList/deleteMoldStartNoticeDrawingList [delete]
export const deleteMoldStartNoticeDrawingList = (params) => {
  return service({
    url: '/moldStartNoticeDrawingList/deleteMoldStartNoticeDrawingList',
    method: 'delete',
    params
  })
}

// @Tags MoldStartNoticeDrawingList
// @Summary 批量删除起模通知单-图纸列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除起模通知单-图纸列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moldStartNoticeDrawingList/deleteMoldStartNoticeDrawingList [delete]
export const deleteMoldStartNoticeDrawingListByIds = (params) => {
  return service({
    url: '/moldStartNoticeDrawingList/deleteMoldStartNoticeDrawingListByIds',
    method: 'delete',
    params
  })
}

// @Tags MoldStartNoticeDrawingList
// @Summary 更新起模通知单-图纸列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeDrawingList true "更新起模通知单-图纸列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /moldStartNoticeDrawingList/updateMoldStartNoticeDrawingList [put]
export const updateMoldStartNoticeDrawingList = (data) => {
  return service({
    url: '/moldStartNoticeDrawingList/updateMoldStartNoticeDrawingList',
    method: 'put',
    data
  })
}

// @Tags MoldStartNoticeDrawingList
// @Summary 用id查询起模通知单-图纸列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.MoldStartNoticeDrawingList true "用id查询起模通知单-图纸列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /moldStartNoticeDrawingList/findMoldStartNoticeDrawingList [get]
export const findMoldStartNoticeDrawingList = (params) => {
  return service({
    url: '/moldStartNoticeDrawingList/findMoldStartNoticeDrawingList',
    method: 'get',
    params
  })
}

// @Tags MoldStartNoticeDrawingList
// @Summary 分页获取起模通知单-图纸列表列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取起模通知单-图纸列表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /moldStartNoticeDrawingList/getMoldStartNoticeDrawingListList [get]
export const getMoldStartNoticeDrawingListList = (params) => {
  return service({
    url: '/moldStartNoticeDrawingList/getMoldStartNoticeDrawingListList',
    method: 'get',
    params
  })
}
